#ifndef DAMA_LOGIC_H
#define DAMA_LOGIC_H

int evalPreConditions(move_message_t *proposal, char board[9][9]);
int eatWalk(int player, int startX, int startY, char board[9][9]);
int evalEat(move_message_t *proposal, match_t *m);
int evalDestination(move_message_t *proposal, int mustEat, char board[9][9]);
void canEatMore(move_message_t *p, match_t *m);
void updateLogicMatch(move_message_t *proposal, int eatDestination, match_t *m);
int evaluateProposal(move_message_t *proposal, match_t *m);
int canMove(move_message_t *proposal, int mustEat, char board[9][9]);
int mustEat(char player, int startX, int startY, char board[9][9]);

#endif
